const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roleId: state => state.user.roleId,
  userName: state => state.user.userName,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  btns : state => state.user.btns,
  permission_routes: state => state.permission.routes,
  permission_menus: state => state.permission.realMenus,
  currentPath: state => state.permission.currentPath,
  sidebarMenu: state => state.permission.sidebarMenu,
  systemInfo: state => state.system.systemInfo,
}
export default getters
